package net.huashitong.service.user;


import net.huashitong.ssydt.user.entity.vo.*;
import net.huashitong.user.results.User;
import net.huashitong.user.results.User3PartyToken;
import net.huashitong.user.results.UserPlain;
import net.huashitong.user.vo.ThirdLoginVO;
import net.huashitong.user.vo.ThirdRegisterInVO;
import net.huashitong.user.vo.UserLoginVO;

import java.util.List;


/**
 * @author shaoxian.zhong
 * @create 2018-06-25 17:54
 */
public interface UserService {
    String getByThirdAccountWithToken(String weChat, String unionid);

    void thirdRegister(ThirdRegisterInVO thirdRegisterInVO);

    void sms(SmsVo smsVo, boolean verification);

    void smsMy(String userId);

    void password(PasswordVO passwordVO);

    void register(RegisterVO registerVO);

    void passwordMy(String userId, PasswordMyVO passwordMyVO);

    UserPlain thirdLogin(ThirdLoginVO thirdLoginVO);

    LoginOutVO login(UserLoginVO userLoginVO);

    UserOutVO getByUserId(String userId);

    IsRegisterVO mobileIsRegister(String mobile);

    User get(String userId);

    List<User3PartyToken> listBindings(String userId);
}
